<%--@elvariable id="workTypeId" type="java.lang.String"--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@taglib prefix="accessory" uri="http://accessoryPackageTag.weitu.net" %>
<!doctype html>
<html lang="zh">
<head>
    <title>射线作业许可添加</title>
    <%@include file="/common/header.jspf" %>
    <script type="text/javascript" src="${ctx}/resources/js/workLicense/electricityLicense/add.js"></script>
</head>
<body>
<div class="menu-right" style="width:80px;">
    <a id="btn_save" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-save fa-lg">保存</a>
</div>
<form id="form1" method="POST">
    <div class="information">
        <div class="information-title">
            <p>基本信息</p>
            <a class="panel-down" href="javascript:void(0)">
                <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
            </a>
        </div>
        <div class="cuttle">
            <div>
                <div class="form_one">
                    <label class="lable-style">票证编号:</label>
                    <input readonly class="easyui-textbox" prompt="保存后自动生成" type="text" style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">申请作业单位:</label>
                    <input id="applyUnit" name="applyUnit" class="easyui-textbox" data-options="required:true" type="text" style="width:240px;">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_two" style="width: 1100px;">
                    <label class="lable-style">工程名称:</label>
                    <input id="engineerName" name="engineerName" type="text" class="easyui-textbox" data-options="required:true" style="height: 60px;width: 959px;"/>
                </div>
            </div>
            <div style="clear: both">
                <div class="form_two" style="width: 1100px;">
                    <label class="lable-style">施工单位:</label>
                    <input id="constructionUnit" name="constructionUnit" type="text" class="easyui-textbox" data-options="multiline:true,required:true" style="height: 60px;width: 959px;"/>
                </div>
            </div>
            <div style="clear: both">
                <div class="form_two" style="width: 1100px;">
                    <label class="lable-style">施工地点:</label>
                    <input id="constructionSite" name="constructionSite" type="text" class="easyui-textbox" data-options="multiline:true,required:true" style="height: 60px;width: 959px;"/>
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">计划开始时间:</label>
                    <input id="beginTime" name="beginTime" class="easyui-datetimebox" data-options="required:true,validType:'startDateCompare[\'#endTime\']'" type="text" style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">计划结束时间:</label>
                    <input id="endTime" name="endTime" class="easyui-datetimebox" data-options="required:true,validType:'endDateCompare[\'#beginTime\']'" type="text" style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">危害识别:</label>
                    <input id="hazardIdentification" name="hazardIdentification" class="easyui-combobox" type="text" style="width:240px;">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">临时用电人:</label>
                    <input id="electricUser" name="electricUser" class="easyui-textbox" data-options="required:true" type="text" style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">电子证书编号:</label>
                    <input id="certificateNumber" name="certificateNumber" class="easyui-textbox" data-options="required:true" type="text" style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">用电设备及功率:</label>
                    <input id="power" name="power" class="easyui-textbox" data-options="required:true" type="text" style="width:240px;">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">电源接入点:</label>
                    <input id="powerInputPoint" name="powerInputPoint" class="easyui-textbox" data-options="required:true" type="text" style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">工作电压:</label>
                    <input id="voltage" name="voltage" class="easyui-textbox" data-options="required:true" type="text" style="width:240px;">
                </div>
            </div>
        </div>
        </div>
    </div>
    <div class="information">
        <div class="information-title">
            <p>相关附件</p>
            <a class="panel-down" href="javascript:void(0)">
                <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
            </a>
        </div>
        <div class="cuttle">
            <div>
                <div class="form_two" style="width: 1100px;">
                    <accessory:accessorySimple permission="write" packageKey="electric_license" uploadUserId="${sessionScope.loginUser.id}" accessoryType="docx,doc,jpg,png,pdf,jpeg"/>
                </div>
            </div>
        </div>
    </div>
    <div class="information" style="height: 200px;">
        <div class="information-title">
            <p>开票人</p>
            <a class="panel-down" href="javascript:void(0)">
                <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
            </a>
        </div>
        <div class="cuttle" style="height: 220px;">
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">开票人:</label>
                    <input name="addUserId" value="${userMessage.addUserId}" hidden/>
                    <input class="easyui-textbox" style="width: 240px;" value="${userMessage.addUserName}" editable="false">
                </div>
                <div class="form_one">
                    <label class="lable-style">开票部门:</label>
                    <input name = "addDeptId" value="${userMessage.addDeptId}" hidden/>
                    <input  value="${userMessage.addDeptName}" class="easyui-textbox" editable="false" style="width: 240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">登记时间:</label>
                    <input name = "addTime" value="${userMessage.addTime}" class="easyui-textbox" editable="false" style="width: 240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">开票时间:</label>
                    <input name = "billingTime" class="easyui-datetimebox"  style="width: 240px;">
                </div>
            </div>
        </div>
    </div>
</form>
</body>
</html>
